package com.dcourseboard.dao;

import java.util.List;
import java.util.Map;

import com.dcourseboard.domain.DcourseBoardCommand;


public interface DcourseBoardDao {
	public int getRowCount(Map<String,Object> map);
	
	public int getReplyRowCount(Integer num);

	public List<DcourseBoardCommand> boardList(Map<String, Object> map);
	
	public List<DcourseBoardCommand> replyList(Integer num);
	
	public String preView(String num);
	
	public void updateReadCount(Integer num);
	
	public DcourseBoardCommand readContent(Integer num);
	
	public DcourseBoardCommand prevReadContent(Integer num);
	
	public DcourseBoardCommand nextReadContent(Integer num);
	
	public void insertBoard(DcourseBoardCommand dcourseBoard);
	
	public void deleteBoard(Integer num);
	
	public void updateBoard(DcourseBoardCommand dcourseBoard);
	
	public void replyBoard(DcourseBoardCommand dcourseBoard);}
